package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author syh
 * @create 2023-08-19 9:56
 */
@Mapper
public interface SysMenuMapper {
    List<SysMenu> selectAllMenus();

    void deleteById(Long id);

    long selectChildCount(Long id);

    SysMenu getById(Long id);

    void updateById(SysMenu sysMenu);

    void save(SysMenu sysMenu);

    List<SysMenu> selectMenusByLoginUserId(Long id);
}
